A = Array
C = Calculation
The AC10FdMinArr function find the minimum value of the elements of an array and puts it on a variable (“valmin”).
AC10FdMaxArr (array, valmin, done)
Parameters:
| IN/OUT | VARIABLE TYPE | EXAMPLE NAME | DIM | |
|---|---|---|---|---|
| IN | ARRSYS | array | L/S | Arrays for which you want to find the minor element |
| OUT | SYSTEM | valmin | L | Minimum value in the array (OUT) |
| OUT | GLOBAL | done | F | Flag of operation executed |
TFind the minimum value of the array and puts on the 'value' variable, when the “ gfFind ” flag is set to 1.
IF gfFind
gfFind = 0
AC10FdMinArr (array, valmin, done)
value = valmin
ENDIF